package com.xiangmo.travel.mapper;
import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xiangmo.travel.Entity.User;
import org.springframework.stereotype.Repository;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;


/**
* @author a1304
* @description 针对表【user】的数据库操作Mapper
* @createDate 2023-03-18 11:59:44
* @Entity com.xiangmo.travel.Entity.User
*/
@Repository
public interface UserMapper extends BaseMapper<User> {
    //根据用户名查询用户是否存在


    //通过用户名查询用户信息
    User selectByUsername(@Param("username") String username);

}
